<template>
    <div>
        首页123456
        <a href="about">跳转介绍页面</a>
        <router-link to="about" tag="button">这是啥?</router-link>
        <button @click="handleRouter">单击</button>
        <button @click="handleforwd">前进</button>
    </div>
</template>
<script>
export default {
    methods: {
        handleRouter (){
            console.log("为要走了.....")
            this.$router.push("/about")
        },
        handleforwd () {
            this.$router.go(1);
        }
    }
}
</script>